package com.battle.pojo.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

import java.time.LocalDate;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/25 16:12
 * 培训成绩
 * */
@Data
@TableName(value = "TRAINING_ACHIEVEMENT",autoResultMap = true)
@Entity(name = "TRAINING_ACHIEVEMENT")
@AccEntity(value = "培训成绩", type = EntityType.SERVICE_ENTITY)
public class TrainingAchievement extends DomainBaseEntity<TrainingAchievement> {

    /**
     * 培训考核名称
     */
    @Column()
    private String name;

    /**
     * 考核开始时间考 yyyy-MM-dd
     */
    private LocalDate startTime;

    /**
     * 考核结束时间 yyyy-MM-dd
     */
    private LocalDate endTime;

    /**
     * 附件路径
     */
    @Column()
    private String url;

    /**
     * 表头
     */
    @Column()
    private String headerList;
}
